import { PrimaryGeneratedColumn, CreateDateColumn, UpdateDateColumn } from 'typeorm';

export class PublicEntity {
  @PrimaryGeneratedColumn({ comment: '主键id' })
  id: number;

  @CreateDateColumn({ comment: '创建时间' })
  create_at: Date;

  @UpdateDateColumn({ comment: '更新时间' })
  update_at: Date;
}
